def fun():
    s = input()
    split = s.split(" ")
    res = ""
    if len(split) <= 1:
        print("输入错误")
        return
    else:
        for s in split:
            if s != "":
                res = res + s[0]
    return res.upper()

print(fun())
